package com.example.socialwebserver.pojo;

import com.baomidou.mybatisplus.annotation.TableName;

import java.util.Date;

@TableName("message")
public class MessageDAO {
    Integer fromUser;
    Integer toUser;
    String msg;
    Date sendTime;
    Integer readOrNot;

    public Integer getFromUser() {
        return fromUser;
    }

    public void setFromUser(Integer fromUser) {
        this.fromUser = fromUser;
    }

    public Integer getToUser() {
        return toUser;
    }

    public void setToUser(Integer toUser) {
        this.toUser = toUser;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Date getSendTime() {
        return sendTime;
    }

    public void setSendTime(Date sendTime) {
        this.sendTime = sendTime;
    }

    public Integer getReadOrNot() {
        return readOrNot;
    }

    public void setReadOrNot(Integer readOrNot) {
        this.readOrNot = readOrNot;
    }
}
